package org.easy4j.framework.core.entity;

import org.easy4j.framework.core.orm.annotation.Column;
import org.easy4j.framework.core.orm.annotation.Id;
import org.easy4j.framework.core.orm.annotation.Table;

/**
 * @author bjliuyong
 * @version 1.0
 * @created date 16-6-16
 */
@Table
public class User {

    @Id
    @Column(insertable = false ,updatable = false)
    private long userId ;

    private String name ;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
